<?

include_once ("../modconfig.php");
include_once ("$ROOT_CLASS_DIR/tbs_class.php");
include_once ("$ROOT_CLASS_DIR/class_database.php");
include_once ("$ROOT_CLASS_DIR/class_common.php");
include_once ("$ROOT_CLASS_DIR/class_login.php");

$project_id = $_REQUEST["_value"];

$TableName		= "ais_job_order";

$array = array();

$SQLproj = "SELECT * FROM tblproject WHERE project_id = '".$project_id."'";
$Resultproj  = $DBConnection->dbc->get_results($SQLproj,ARRAY_A);

$projectName = $Resultproj[0]['project_name'];


$SQLproj2 = "SELECT * FROM tblproject WHERE project_name = '".$projectName."'";
$Resultproj2  = $DBConnection->dbc->get_results($SQLproj2,ARRAY_A);




print_r($Resultproj2);

$array[] = array('1' => 'Montana');
$array[] = array('2' => 'New York');    
$array[] = array('3' => 'Texas');       

echo json_encode( $array );


?>
